#include "PriorityQueue.h"

int main()
{
    PriorityQueue<int> hp;
    hp.Push(2);
    hp.Push(1);
    hp.Push(6);
    hp.Push(5);
    hp.Push(3);
    hp.Push(9);
    hp.Push(4);
    hp.Push(8);
    while(hp.size())
    {
        cout << hp.Top() << endl; 
        hp.Pop();
    }

    return 0;
}